package com.xzy.mybatis.cipher.support.strategy.crypto;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author xzy.xiao
 * @since 2025/1/15  9:59
 */
@Getter
@AllArgsConstructor
public abstract class CryptoStrategy {

    private String key;

    public abstract String getName();

    public abstract String encrypt(String value);

    public abstract String decrypt(String value);
}
